import { createRouter, createWebHistory } from 'vue-router'
import ddxqView from '@/views/home/ddxq.vue'
import ddView from '@/views/home/dd.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    { path: '/', redirect: '/dd' },
    { path: '/dd', name: 'dd', component: ddView, },
    { path: '/ddxq', name: 'ddxq', component: ddxqView, },

  ],
})

export default router
